package com.mai4j.maiadmin.model.vo;

import com.mai4j.maiadmin.model.http.SettingSaveReq;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 微信公众号请关注: 开源螺丝钉
 * <br>
 * 码云请关注: <a href="https://gitee.com/xiyoufang">https://gitee.com/xiyoufang</a>
 * <br>
 * 哔哩哔哩请关注: <a href="https://space.bilibili.com/438927834">https://space.bilibili.com/438927834</a>
 *
 * @author xiyoufang
 */
@Setter
@Getter
@Accessors(chain = true)
public class SettingVO {

    @Setter
    @Getter
    @Accessors(chain = true)
    public static class Language {
        private String catalog;
        private String admin;
    }


    @Setter
    @Getter
    @Accessors(chain = true)
    public static class Mail {
        private String engine;
        private String ssl;
        private String hostname;
        private String username;
        private String personal;
        private String password;
        private String port;
        private String timeout;
    }


    /**
     * siteTitle
     */
    private Map<String, String> siteTitle;
    /**
     * metaTitle
     */
    private Map<String, String> metaTitle;
    /**
     * metaDescription
     */
    private Map<String, String> metaDescription;
    /**
     * metaKeyword
     */
    private Map<String, String> metaKeyword;
    /**
     * currency
     */
    private String currency;
    /**
     * Language
     */
    private SettingSaveReq.Language language;
    /**
     * Mail
     */
    private SettingSaveReq.Mail mail;
    /**
     * maintenance
     */
    private String maintenance;
    /**
     * 密钥
     */
    private String encryption;
}
